package com.hospital.hl7package.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.hl7package.module.entity.Hl7MessageLogs;
import com.hospital.hl7package.module.entity.OperInfo;
import com.hospital.hl7package.module.entity.OutpPrepayRcptTemp;
import com.hospital.hl7package.module.mapper.Hl7MessageLogsMapper;
import com.hospital.hl7package.module.service.Hl7MessageLogsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2021-12-22
 */
@Service
public class Hl7MessageLogsServiceImpl extends ServiceImpl<Hl7MessageLogsMapper, Hl7MessageLogs> implements Hl7MessageLogsService {

    @Resource
    Hl7MessageLogsMapper hl7MessageLogsMapper ;
    @Override
    public OutpPrepayRcptTemp getApplyRec(String orderNo) {
        return hl7MessageLogsMapper.getApplyRec(orderNo);
    }

    @Override
    public String getService() {
        return hl7MessageLogsMapper.getServices();
    }

    @Override
    public String getLog() {
        return hl7MessageLogsMapper.getLogss();
    }

    @Override
    public OperInfo getOperInfo(String visitDate, String visitNo) {
        return hl7MessageLogsMapper.getOperInfo(visitDate,visitNo);
    }
}
